package com.stud.business.qb.domain;

import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.stud.common.annotation.Excel;
import com.stud.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 关注对象 q_follow
 *
 * @author Stud
 * @date 2024-03-08
 */
@Schema(description = "关注")
@Getter
@Setter
@TableName("q_follow")
public class QFollow extends BaseEntity{

    @Excel(name = "关注者ID")
    @Schema(description = "followerId")
    private Long followerId;

    @Excel(name = "被关注者ID")
    @Schema(description = "followeeId")
    private Long followeeId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "关注时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "time")
    private LocalDateTime time;

}
